package no.ntnu.item.ttm4120.dhcp.exception;

/**
 * When address pool is exhasuted and there is no address 
 * to reclaim this exception should be sent back to client 
 * and client should catch and print the error msg.
 * @author aryan
 *
 */
public class AddressPoolException extends Exception{

	private static final long serialVersionUID = -500546213818590024L;
	
	private static String default_msg = "There are no more addresses.";
	
	public AddressPoolException() {
		super(default_msg);
	}
	
	public AddressPoolException(String msg) {
		super(msg);
	}
	
	public AddressPoolException(Throwable cause) {
		super(cause);
	}
	
	public AddressPoolException(String msg, Throwable cause) {
		super(msg, cause);
	}
}
